package com.xhs.main.dao.yfb;

import com.xhs.main.entity.yfb.YfbBook;
import com.xhs.main.entity.yfb.YfbBookExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface YfbBookMapper {
    int countByExample(YfbBookExample example);

    int deleteByExample(YfbBookExample example);

    int deleteByPrimaryKey(Integer yfbBookId);

    int insert(YfbBook record);

    int insertSelective(YfbBook record);

    List<YfbBook> selectByExample(YfbBookExample example);

    YfbBook selectByPrimaryKey(Integer yfbBookId);

    int updateByExampleSelective(@Param("record") YfbBook record, @Param("example") YfbBookExample example);

    int updateByExample(@Param("record") YfbBook record, @Param("example") YfbBookExample example);

    int updateByPrimaryKeySelective(YfbBook record);

    int updateByPrimaryKey(YfbBook record);
}